
;CONFIG 16. 8.
WIDTH 23.

; ############################ START OF AP DVFS ############################
TREE "AP DVFS"
    ;;;;;;;;;;;;;;;;;;;;;;VSP DVFS CFG and TABLE;;;;;;;;;;;;;;;;;;;;;;
    
    GROUP.LONG 0x08++0x03 "VSP DVFS CFG and TABLE"
    TEXTLINE ""
    LINE.LONG 0x00 " DFS EN, VSP_DFS_EN "
    BITFLD.LONG 0x00 1. "  DFS_EN , DFS_EN"  "0x0,0x1,%x..."

    TEXTLINE ""
    GROUP.LONG 0x0C++0x03 
    LINE.LONG 0x00 " DFS SW TRIG, VSP_DFS_SW_TRIG "
    BITFLD.LONG 0x00 1. "  SW_TRIG , SW_TRIG "  "0x0,0x1,%x..."
    
    TEXTLINE ""
    GROUP.LONG 0x38++0x03 
    LINE.LONG 0x00 " FREQ UPD BYP, VSP_FREQ_UPD_EN_BYP "
    BITFLD.LONG 0x00 1. "  UPD_EN_BYP , UPD_EN_BYP "  "0x0,0x1,%x..."
    
    TEXTLINE ""
    GROUP.LONG 0x11C++0x03 
    LINE.LONG 0x00 " DVFS INDEX, VSP_DVFS_INDEX "
    BITFLD.LONG 0x00 0.--2. "  DVFS_INDEX , DVFS_INDEX "  "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,%x..." 
    
    TEXTLINE ""
    GROUP.LONG 0x120++0x03 
    LINE.LONG 0x00 " DVFS INDEX IDLE, VSP_DVFS_INDEX_IDLE "
    BITFLD.LONG 0x00 0.--2. "  INDEX_IDLE , DVFS_INDEX_IDLE "  "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,%x..."       
    
    TEXTLINE ""
    GROUP.LONG 0x130++0x03 
    LINE.LONG 0x00 " GFREE WAIT DELAY, VSP_GFREE_WAIT_DELAY "
    BITFLD.LONG 0x00 0.--9. "  WAIT_DELAY , GFREE_WAIT_DELAY "  "0x000,%x..."        
    
    TEXTLINE ""
    GROUP.LONG 0x134++0x03 
    LINE.LONG 0x00 " FREQ UPD TYPE CFG, VSP_FREQ_UPD_TYPE_CFG "
    BITFLD.LONG 0x00 2. "  HDSK_EN , VSP_FREQ_UPD_HDSK_EN "  "0x0,0x1,%x..."    
    BITFLD.LONG 0x00 3. "  DELAY_EN , VSP_FREQ_UPD_DELAY_EN "  "0x0,0x1,%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x40++0x03 
    LINE.LONG 0x00 " AP DVSP VOLTAGE, AP_DVSP_VOLTAGE_DBG "
    BITFLD.LONG 0x00 6.--8. "  VSP_VOLTAGE , VSP_VOLTAGE "  "%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x4C++0x03 
    LINE.LONG 0x00 " AP DVFS CFG, AP_DVFS_CGM_CFG_DBG "
    BITFLD.LONG 0x00 3.--4. "  VSP_SEL , CGM_VSP_SEL "  "%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x12C++0x03 
    LINE.LONG 0x00 " AP FREQ UPD STA, AP_FREQ_UPD_STATE "
    BITFLD.LONG 0x00 4.--7. "  VSP_UPD_STA , VSP_DVFS_FREQ_UPD_STATE "  "%x..."  
    
    TEXTLINE ""
    GROUP.LONG 0x74++0x03
    LINE.LONG 0x00 " VSP INDEX0, VSP_INDEX0 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x78++0x03
    LINE.LONG 0x00 " VSP INDEX1, VSP_INDEX1 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x7C++0x03
    LINE.LONG 0x00 " VSP INDEX2, VSP_INDEX2 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x80++0x03
    LINE.LONG 0x00 " VSP INDEX3, VSP_INDEX3 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x84++0x03
    LINE.LONG 0x00 " VSP INDEX4, VSP_INDEX4 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x88++0x03
    LINE.LONG 0x00 " VSP INDEX5, VSP_INDEX5 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x8C++0x03
    LINE.LONG 0x00 " VSP INDEX6, VSP_INDEX6 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x90++0x03
    LINE.LONG 0x00 " VSP INDEX7, VSP_INDEX7 "
    BITFLD.LONG 0x00 0.--1. "  CMG_SEL , CMG_SEL"   "256M,307.2M,384M,384M,%x..."    
    BITFLD.LONG 0x00 2.--4. "  VSP_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    
    ;;;;;;;;;;;;;;;;;;;;;;DISPC DVFS CFG and TABLE;;;;;;;;;;;;;;;;;;;;;;
    
    GROUP.LONG 0x08++0x03 "DISPC DVFS CFG and TABLE"
    TEXTLINE ""
    LINE.LONG 0x00 " DFS EN, DISPC_DFS_EN "
    BITFLD.LONG 0x00 0. "  DFS_EN , DFS_EN"  "0x0,0x1,%x..."    
    
    TEXTLINE ""
    GROUP.LONG 0x0C++0x03 
    LINE.LONG 0x00 " DFS SW TRIG, DISPC_DFS_SW_TRIG "
    BITFLD.LONG 0x00 0. "  SW_TRIG , SW_TRIG "  "0x0,0x1,%x..."
    
    TEXTLINE ""
    GROUP.LONG 0x38++0x03 
    LINE.LONG 0x00 " FREQ UPD BYP, DISPC_FREQ_UPD_EN_BYP "
    BITFLD.LONG 0x00 0. "  UPD_EN_BYP , UPD_EN_BYP "  "0x0,0x1,%x..."
    
    TEXTLINE ""
    GROUP.LONG 0x124++0x03 
    LINE.LONG 0x00 " DVFS INDEX, DISPC_DVFS_INDEX "
    BITFLD.LONG 0x00 0.--2. "  DVFS_INDEX , DVFS_INDEX "  "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,%x..." 
    
    TEXTLINE ""
    GROUP.LONG 0x128++0x03 
    LINE.LONG 0x00 " DVFS INDEX IDLE, DISPC_DVFS_INDEX_IDLE "
    BITFLD.LONG 0x00 0.--2. "  INDEX_IDLE , DVFS_INDEX_IDLE "  "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,%x..."       
    
    TEXTLINE ""
    GROUP.LONG 0x130++0x03 
    LINE.LONG 0x00 " GFREE WAIT DELAY, DISPC_GFREE_WAIT_DELAY "
    BITFLD.LONG 0x00 10.--19. "  WAIT_DELAY , GFREE_WAIT_DELAY "  "0x000,%x..."        
    
    TEXTLINE ""
    GROUP.LONG 0x134++0x03 
    LINE.LONG 0x00 " FREQ UPD TYPE CFG, DISPC_FREQ_UPD_TYPE_CFG "
    BITFLD.LONG 0x00 4. "  HDSK_EN , DISPC_FREQ_UPD_HDSK_EN "  "0x0,0x1,%x..."    
    BITFLD.LONG 0x00 5. "  DELAY_EN , DISPC_FREQ_UPD_DELAY_EN "  "0x0,0x1,%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x40++0x03 
    LINE.LONG 0x00 " AP DVSP VOLTAGE, AP_DVSP_VOLTAGE_DBG "
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOLTAGE , DISPC_VOLTAGE "  "%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x4C++0x03 
    LINE.LONG 0x00 " AP DVFS CFG, AP_DVFS_CGM_CFG_DBG "
    BITFLD.LONG 0x00 0.--2. "  DISPC_SEL , CGM_DISPC_SEL "  "%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x12C++0x03 
    LINE.LONG 0x00 " AP FREQ UPD STA, AP_FREQ_UPD_STATE "
    BITFLD.LONG 0x00 8.--11. "  DISPC_UPD_STA , DISPC_DVFS_FREQ_UPD_STATE "  "%x..."  
    
    TEXTLINE ""
    GROUP.LONG 0x94++0x03
    LINE.LONG 0x00 " DISPC INDEX0, DISPC_INDEX0 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."    
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x98++0x03
    LINE.LONG 0x00 " DISPC INDEX1, DISPC_INDEX1 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."     
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , VSP_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x9C++0x03
    LINE.LONG 0x00 " DISPC INDEX2, DISPC_INDEX2 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."     
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x100++0x03
    LINE.LONG 0x00 " DISPC INDEX3, DISPC_INDEX3 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."     
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x104++0x03
    LINE.LONG 0x00 " DISPC INDEX4, DISPC_INDEX4 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."     
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x108++0x03
    LINE.LONG 0x00 " DISPC INDEX5, DISPC_INDEX5 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."     
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x10C++0x03
    LINE.LONG 0x00 " DISPC INDEX6, DISPC_INDEX6 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."    
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..." 
    GROUP.LONG 0x110++0x03
    LINE.LONG 0x00 " DISPC INDEX7, DISPC_INDEX7 "
    BITFLD.LONG 0x00 0.--2. "  CMG_SEL , CMG_SEL"   "153.6M,192M,256M,307.2M,384M,384M,384M,384M,%x..."  
    BITFLD.LONG 0x00 3.--5. "  DISPC_VOL , DISPC_VOL"   "0.7V,0.75V,0.8V,%x..."     

    ;;;;;;;;;;;;;;;;;;;;;;AP DVFS CFG and TABLE;;;;;;;;;;;;;;;;;;;;;;
    
    GROUP.LONG 0x00++0x03 "AP DVFS CFG and TABLE"
    TEXTLINE ""
    LINE.LONG 0x00 " AP DVFS HOLD, AP_DVFS_HOLD "
    BITFLD.LONG 0x00 0. "  DVFS_HOLD , DVFS_HOLD"  "0x0,0x1,%x..."    
    
    TEXTLINE ""
    GROUP.LONG 0x04++0x03 
    LINE.LONG 0x00 " WAIT WINDOWS, AP_DVFS_WAIT_WINDOW "
    BITFLD.LONG 0x00 0.--9. "  DOWN_WINDOW , DOWN_WINDOW "  "0x000,%x..."
    BITFLD.LONG 0x00 10.--19. "  UP_WINDOW , UP_WINDOW "  "0x000,%x..."    
    
    TEXTLINE ""
    GROUP.LONG 0x10++0x03 
    LINE.LONG 0x00 " MIN VOLTAGE CFG, AP_MIN_VOLTAGE_CFG "
    BITFLD.LONG 0x00 0.--2. "  MIN_VOLTAGE , AP_SYS_MIN_VOLTAGE "  "0.7V,0.75V,0.8V,%x..." 
    
    TEXTLINE ""
    GROUP.LONG 0x34++0x03 
    LINE.LONG 0x00 " AP SW DVFS CTRL, AP_SW_DVFS_CTRL "
    BITFLD.LONG 0x00 0. "  REQ   , REQ_SW "  "0x0,0x1,%x..."   
    BITFLD.LONG 0x00 1.--3. "  CURRENT_VOLTAGE_SW , CURRENT_VOLTAGE_SW "  "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,%x..."      
    BITFLD.LONG 0x00 4.--6. "  VOLTAGE_SW , VOLTAGE_SW "  "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,%x..."      
    BITFLD.LONG 0x00 8. "  DVFS_ACK , DVFS_ACK "  "0x0,0x1,%x..."      
    
    TEXTLINE ""
    GROUP.LONG 0x3C++0x03 
    LINE.LONG 0x00 " AP CLK GATE CTRL, AP_DVFS_CLK_GATE_CTRL "
    BITFLD.LONG 0x00 0. "  AUTO_GATE_SEL , AUTO_GATE_SEL "  "0x0,0x1,%x..." 
    BITFLD.LONG 0x00 1. "  FORCE_EN , FORCE_EN "  "0x0,0x1,%x..."       

    TEXTLINE ""
    RGROUP.LONG 0x40++0x03 
    LINE.LONG 0x00 " AP DVSP VOLTAGE, AP_DVSP_VOLTAGE_DBG "
    BITFLD.LONG 0x00 0.--2. "  VOTE_VOLTAGE , INTERNAL_VOTE_VOLTAGE "  "%x..."  
    BITFLD.LONG 0x00 12.--14. "  CURRENT_VOLTAGE , AP_CURRENT_VOLTAGE "  "%x..."  
    
    TEXTLINE ""
    RGROUP.LONG 0x50++0x03 
    LINE.LONG 0x00 " AP DVSP STA, AP_DVSP_STATE_DBG "
    BITFLD.LONG 0x00 0.--2. "  DVFS_STA , DVFS_STATE "  "%x..."  
    BITFLD.LONG 0x00 3.--12. "  WINDOW_CNT , WINDOW_CNT "  "0x000,%x..."    
    BITFLD.LONG 0x00 13. "  DVFS_BUSY , DVFS_BUSY "  "%x..."      
    
    TEXTLINE ""
    RGROUP.LONG 0x138++0x03
    LINE.LONG 0x00 " DVFS RES REG0, AP_DVFS_RESERVED_REG0   "
    RGROUP.LONG 0x13C++0x03
    LINE.LONG 0x00 " DVFS RES REG1, AP_DVFS_RESERVED_REG1   "
    RGROUP.LONG 0x140++0x03
    LINE.LONG 0x00 " DVFS RES REG2, AP_DVFS_RESERVED_REG2   "
    RGROUP.LONG 0x144++0x03
    LINE.LONG 0x00 " DVFS RES REG3, AP_DVFS_RESERVED_REG3   "    
    
TREE.END

; ############################ END OF AP DVFS ############################
